﻿/*
 * 2008 (c) ralfoide at gmail com
 * Project: SharpFlow
 * License: GPL
 */

using System;
using System.Collections.Generic;
using System.Text;

namespace Alfray.SharpFlow.Core {
    /// <summary>
    /// An interface for an object that can write to the main log.
    /// </summary>
    public interface ILog {
        /// <summary>
        /// Appends a string to the main log.
        /// The logger will update user interface displaying the log, if any.
        /// One can assume it is safe to call this from any thread.
        /// </summary>
        /// <param name="msg">The message to log. \n will be appended if necessary.</param>
        void append(string msg, params object[] args);
    }
}
